package com.ruoyi.system.service;

import com.ruoyi.system.domain.BProjectCompany;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.vo.BCompanyVo;

import java.util.List;

/**
* @author yangxingze
* @description 针对表【b_project_company(项目药企关联表)】的数据库操作Service
* @createDate 2025-01-03 01:33:34
*/
public interface BProjectCompanyService extends IService<BProjectCompany> {

    /**
     * 根据项目id删除关联的药企
     * @param projectId
     */
    void deleteProjectCompanyByProjectId(Long projectId);

    /**
     * 保存项目药企关联信息
     * @param companyList
     * @param projectId
     */
    void saveProjectCompany(List<BCompanyVo> companyList, Long projectId);
}
